package com.youlu.campus.entity;

import com.youlu.campus.base.base.EntityBase;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.List;

/**
 * 活动轮播图图配置
 */
@Getter
@Setter
@Document(collection = "activity_cms_slideshow")
public class ActivityCmsSlideshow extends EntityBase {
    /**
     * 活动ID
     */
    @Indexed
    private String activityId;
    /**
     * 图片
     */
    private List<String> imageUrl;
    /**
     * 展示文字
     */
    private String display;
    /**
     * 位置:honour:荣誉展示、news:新闻报道
     */
    private String location;
    /**
     * 链接
     */
    private String linker;
    /**
     * 是否有链接
     */
    private Boolean hasLinker = Boolean.FALSE;


}
